Feat/uth 236 get all parking space listings from one core#35
Merged
mittistormen merged 3 commits intoepic/uth-227-publicera-alla-bilplatser-fran-onecorefrom Sep 9, 2025
Conversation
Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
lalmqvist
reviewed
Sep 8, 2025
| @@ -0,0 +1,20 @@ | |||
| import { Tenant } from 'libs/types/dist' | |||
|
|
|||
| export const isTenantAllowedToRentAParkingSpaceInThisResidentialArea = ( | |||
lalmqvist
reviewed
Sep 8, 2025
| }) | ||
| const query = querySchema.safeParse(ctx.query) | ||
|
|
||
| logger.info({ query }, 'Parsed query parameters for GET /listings') |
d2bb0ac
into
epic/uth-227-publicera-alla-bilplatser-fran-onecore
1 check passed
lalmqvist
pushed a commit
that referenced
this pull request
Sep 9, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
svjson
pushed a commit
that referenced
this pull request
Sep 19, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
svjson
pushed a commit
that referenced
this pull request
Sep 19, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
svjson
pushed a commit
that referenced
this pull request
Sep 19, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
lalmqvist
pushed a commit
that referenced
this pull request
Sep 29, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
lalmqvist
pushed a commit
that referenced
this pull request
Oct 21, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
lalmqvist
pushed a commit
that referenced
this pull request
Oct 21, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen
added a commit
that referenced
this pull request
Nov 26, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen
added a commit
that referenced
this pull request
Nov 26, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen
added a commit
that referenced
this pull request
Nov 26, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen
added a commit
that referenced
this pull request
Nov 26, 2025
* Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.
mittistormen
added a commit
that referenced
this pull request
Dec 1, 2025
* add endpoint to get vacant parkingspaces * show vacant parkinspaces on a new page * create endpoint and method to create multiple listings. * create endpoint in core * add endpoint and logic to portal backend * refactor UI and publish vacant parkingspaces * handle potential empty PublishedTo-date for NON_SCORED listings * handle re-render errors * handle publishing of large batches * rename kötyp to Uthyrningsmetod * filter out offered as well as ready for offer listings from vacant parking spaces * disable creation of application for non scored listings * Don't render applicants or offers tabs on details page for NON_SCORED rental rules * refactor parking-spaces endpoints in core and leasing service to take body param list of rentalobjectIds and return rentalobjects. * parallelize vacant-parkingspace request * remove all xpand-sync code in internal-portal be and fe and core * remove xpand-internal-parkingspaces-sync from lease-service * Feat/uth 236 get all parking space listings from one core (#35) * Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out. * Feat:UTH-237 Get Published Lisings by RentalObjectCode (#42) To be able to show the parking space detail page on mimer.nu we need to be able to retrieve published listings by RentalObjectCode. * filter on RentalObjectCode has been added to GET /listings in both core and lesing * Feat:UTH-247-Rental-Object-Search * UTH-238: Unpublish listing (#38) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Linda Almqvist <linda.almqvist@prototyp.se> Co-authored-by: Sven Johansson <sven.johansson@iteam.se> Co-authored-by: Andreas Lundqvist <31646645+momentiris@users.noreply.github.com> Co-authored-by: Linda Almqvist <34321514+lalmqvist@users.noreply.github.com> Co-authored-by: lindblomdavid <65215239+lindblomdavid@users.noreply.github.com>
mittistormen
added a commit
that referenced
this pull request
Dec 1, 2025
* add endpoint to get vacant parkingspaces * show vacant parkinspaces on a new page * create endpoint and method to create multiple listings. * create endpoint in core * add endpoint and logic to portal backend * refactor UI and publish vacant parkingspaces * handle potential empty PublishedTo-date for NON_SCORED listings * handle re-render errors * handle publishing of large batches * rename kötyp to Uthyrningsmetod * filter out offered as well as ready for offer listings from vacant parking spaces * disable creation of application for non scored listings * Don't render applicants or offers tabs on details page for NON_SCORED rental rules * refactor parking-spaces endpoints in core and leasing service to take body param list of rentalobjectIds and return rentalobjects. * parallelize vacant-parkingspace request * remove all xpand-sync code in internal-portal be and fe and core * remove xpand-internal-parkingspaces-sync from lease-service * Feat/uth 236 get all parking space listings from one core (#35) * Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out. * Feat:UTH-237 Get Published Lisings by RentalObjectCode (#42) To be able to show the parking space detail page on mimer.nu we need to be able to retrieve published listings by RentalObjectCode. * filter on RentalObjectCode has been added to GET /listings in both core and lesing * Feat:UTH-247-Rental-Object-Search * UTH-238: Unpublish listing (#38) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Linda Almqvist <linda.almqvist@prototyp.se> Co-authored-by: Sven Johansson <sven.johansson@iteam.se> Co-authored-by: Andreas Lundqvist <31646645+momentiris@users.noreply.github.com> Co-authored-by: Linda Almqvist <34321514+lalmqvist@users.noreply.github.com> Co-authored-by: lindblomdavid <65215239+lindblomdavid@users.noreply.github.com>
osirisguitar
pushed a commit
that referenced
this pull request
Dec 9, 2025
* add endpoint to get vacant parkingspaces * show vacant parkinspaces on a new page * create endpoint and method to create multiple listings. * create endpoint in core * add endpoint and logic to portal backend * refactor UI and publish vacant parkingspaces * handle potential empty PublishedTo-date for NON_SCORED listings * handle re-render errors * handle publishing of large batches * rename kötyp to Uthyrningsmetod * filter out offered as well as ready for offer listings from vacant parking spaces * disable creation of application for non scored listings * Don't render applicants or offers tabs on details page for NON_SCORED rental rules * refactor parking-spaces endpoints in core and leasing service to take body param list of rentalobjectIds and return rentalobjects. * parallelize vacant-parkingspace request * remove all xpand-sync code in internal-portal be and fe and core * remove xpand-internal-parkingspaces-sync from lease-service * Feat/uth 236 get all parking space listings from one core (#35) * Feat: UTH-236 Get All Parking Space Listings From OneCore Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out. * Feat:UTH-237 Get Published Lisings by RentalObjectCode (#42) To be able to show the parking space detail page on mimer.nu we need to be able to retrieve published listings by RentalObjectCode. * filter on RentalObjectCode has been added to GET /listings in both core and lesing * Feat:UTH-247-Rental-Object-Search * UTH-238: Unpublish listing (#38) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Linda Almqvist <linda.almqvist@prototyp.se> Co-authored-by: Sven Johansson <sven.johansson@iteam.se> Co-authored-by: Andreas Lundqvist <31646645+momentiris@users.noreply.github.com> Co-authored-by: Linda Almqvist <34321514+lalmqvist@users.noreply.github.com> Co-authored-by: lindblomdavid <65215239+lindblomdavid@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added missing functionality to filter result based on a ContactCode. Scored/internal Listings where the user doesn't have a housing contract is filtered out.